<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
	<head>
	
		<title>Glue !</title>
		<script type="text/javascript" src="Libraries/Glue.framework/Common.js" runat="both"></script>
		<script type="text/javascript" src="Libraries/Glue.framework/Server.js" runat="server"></script>
		<script type="text/javascript" src="Libraries/Glue.framework/Client.js" runat="client"></script>
				<link rel="stylesheet" href="Ressources/design.css" type="text/css" />
	</head>
	<body>
		<div id="mainContainer" class="pageBlock">
			<div class="glue:emplacement" id="page/contents"></div>
		</div>
		<ul id="mainMenu" class="pageBlock">
			<a href="?">Home</a>
			<a href="?page=start.html">Start with Glue</a>
		</ul>
	</body>
</html>
<script type="text/javascript" runat="server">
GlueServerLaunch();
/*!
	@function		GlueServerAutomation
	@abstract	 	Called when DOM is loaded
*/
function GlueServerLaunch(){
	// Set up the server compilator
	var serverCompilator = new GlueServerCompilator();
	serverCompilator.layerDir = '/Applications/Aptana_Jaxer/public/Glue/trunk/Layers'; // MODIFY THIS LINE ACCORDING TO YOUR SERVER CONFIGURATION
	serverCompilator.defaultLayer = 'default.html';
	serverCompilator.errorLayer = '404.html';
	
	// Launch the server compilator
	serverCompilator.compile(document);
};
</script>
<script type="text/javascript" runat="client">
GlueClientInspectionLaunch();
</script>